// 引入样式
require("../../assets/fonts/iconfont.css");
require("../../assets/css/normalize.css");
require("../../assets/css/reset.css");
require("../../assets/fontst/iconfont.css");
require("./mine_sports_badge.less");

// 引入模块
let dom = require("../../utils/dom.js");
// 引入插件
let axios = require("../../utils/axios");
document.addEventListener("DOMContentLoaded", function () {
	dom.get(".back").addEventListener("click", function () {
		history.back();
	});

	//排名渲染
	axios.get("/api/user/info").then((res) => {
		//渲染排名
		dom.get("#nub").textContent = res.data.data.ranking;
		console.log(res.data);
	});
});


